// 用于定义发送请求函数
import myAxios from '@/utils/myAxios';
// 登录
export const reqLogin = (params) =>
  myAxios.post('/api/user/passport/login', params);

// 获取用户信息
export const reqUserInfo = () =>
  myAxios.get('/api/user/passport/auth/getUserInfo');

// 退出登录
export const reqLogout = () => myAxios.get('/api/user/passport/logout');
